#include "gtest/gtest.h"

extern "C"
{
}

#include "demo.h"

int main(int argc, char **argv)
{
    ::testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}

TEST(demo, add)
{
    double res = AddNumber(1.0, 2.0);
    ASSERT_NEAR(res, 3.0, 1.0e-11);
}